package com.baitengsoft.patentapimonitor.api.service;

import com.baitengsoft.patentapimonitor.api.entity.ScheduleJobEntity;
import com.baitengsoft.patentapimonitor.api.model.ScheduleJobViewModel;
import com.baitengsoft.patentapimonitor.api.model.param.ScheduleJobParam;
import com.baitengsoft.patentapimonitor.common.utils.PageResult;

/**
 * Created by Admin on 2018/1/8.
 */
public interface ScheduleJobService {

    PageResult<ScheduleJobViewModel> searchScheduleJob(ScheduleJobParam param);

    Integer saveScheduleJob(ScheduleJobEntity entity);

    ScheduleJobViewModel searchSingleSchedule(int jobId);

    void processScheduleJobByIds(String ids);
}
